import UnMoveable from "./unmoveable.js";
import config from "./gameconfig.js";

class Wall extends UnMoveable {
    constructor( x: number, y: number,imgSrc?: string|undefined , width?: number, height?: number, life?: number) {
        imgSrc = config.WallSprite;
        life = life || config.WallLife;
        super( x, y,imgSrc, width, height, life);
    }
}
export default Wall;